package com.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * (PayInfo)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:45:48
 */
@ApiModel(value = "支付信息表")
public class PayInfo implements Serializable {
    private static final long serialVersionUID = -17424768568634442L;

    @ApiModelProperty(name = "payId",notes = "支付信息id",dataType = "int")
    private Integer pay_id;
    /**
     * 支付单号
     */
    @ApiModelProperty(name = "payNumber",notes = "支付单号",dataType = "String")
    private String payNumber;

    private String ProductName;
    /**
     * 支付方式
     */
    @ApiModelProperty(name = "payMethod",notes = "支付方式",dataType = "String")
    private String payMethod;
    /**
     * 支付状态
     */
    @ApiModelProperty(name = "payStatus",notes = "支付状态",dataType = "BigDecimal")
    private BigDecimal payStatus;
    /**
     * 订单总金额
     */
    @ApiModelProperty(name = "orderamountTotal",notes = "订单总金额",dataType = "BigDecimal",required = true)
    private BigDecimal orderamountTotal;
    /**
     * 优惠后支付金额
     */
    @ApiModelProperty(name = "paymentOnline",notes = "执行支付金额",dataType = "BigDecimal",required = true)
    private BigDecimal paymentOnline;

    /**
     * 优惠券付款
     */
    @ApiModelProperty(name = "couponPayment",notes = "优惠券付款",dataType = "BigDecimal",required = true)
    private BigDecimal couponPayment;

    /**
     * 用户应付款
     */
    @ApiModelProperty(name = "userPayble",notes = "用户应付款",dataType = "Double",required = true)
    private String userPayble;

    /**
     * 优惠券id
     * @return
     */
    private Integer coupon_id;
    /**
     * 用户id
     * @return
     */
    private Integer user_id;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(Integer coupon_id) {
        this.coupon_id = coupon_id;
    }

    public String getUserPayble() {
        return userPayble;
    }

    public void setUserPayble(String userPayble) {
        this.userPayble = userPayble;
    }

    private String orderNumber;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getProductName() {
        return ProductName;
    }

    public void setProductName(String productName) {
        ProductName = productName;
    }

    public Integer getPay_id() {
        return pay_id;
    }

    public void setPay_id(Integer pay_id) {
        this.pay_id = pay_id;
    }

    public String getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(String payNumber) {
        this.payNumber = payNumber;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public BigDecimal getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(BigDecimal payStatus) {
        this.payStatus = payStatus;
    }

    public BigDecimal getOrderamountTotal() {
        return orderamountTotal;
    }

    public void setOrderamountTotal(BigDecimal orderamountTotal) {
        this.orderamountTotal = orderamountTotal;
    }

    public BigDecimal getPaymentOnline() {
        return paymentOnline;
    }

    public void setPaymentOnline(BigDecimal paymentOnline) {
        this.paymentOnline = paymentOnline;
    }

    public BigDecimal getCouponPayment() {
        return couponPayment;
    }

    public void setCouponPayment(BigDecimal couponPayment) {
        this.couponPayment = couponPayment;
    }


    @Override
    public String toString() {
        return "PayInfo{" +
                "payId=" + pay_id +
                ", payNumber='" + payNumber + '\'' +
                ", ProductName='" + ProductName + '\'' +
                ", payMethod='" + payMethod + '\'' +
                ", payStatus=" + payStatus +
                ", orderamountTotal=" + orderamountTotal +
                ", paymentOnline=" + paymentOnline +
                ", couponPayment=" + couponPayment +
                ", userPayble=" + userPayble +
                ", orderNumber='" + orderNumber + '\'' +
                '}';
    }
}